﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Windows.Media.Media3D;

namespace GameBoard
{
    [DataContract]
    [KnownType(typeof(PictureVisualFactory))]
    [KnownType(typeof(ModelVisualFactory))]
    public abstract class CharacterVisualFactory : BaseVisualFactory, IChangeLocations
    {
        protected CharacterVisualFactory(BaseVisualData theData) : base(theData)
        {
        }

        public abstract void SetLocation(Point3D newLocation);
    }
}
